package com;

import org.mybatis.spring.annotation.*;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.*;
import org.springframework.data.jpa.repository.config.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//@MapperScan(basePackages = {"com.demo.mapper"})
// (scanBasePackages = {"com.util","com.demo.impl","com.controller","com.demo.mapper","com.demo.repository"})
//(exclude = { DataSourceAutoConfiguration.class })
@SpringBootApplication
@MapperScan(value = "com.demo.mapper")
@EnableTransactionManagement
public class Application  {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(Application.class);
        app.run(args);
        System.out.println( "*****************启动成功***************" );
    }


}
